package projetjee

class ToolsTagLib {
	def showDateAndTime = {attrs ->
		out << "<script type='text/javascript'>"
		out << "new Ajax.PeriodicalUpdater('timerDiv', '/zencontactdemo/timer/getTime' , "
		out << "{method: 'get',frequency: 1,decay: 1});"
		out << "</script>"
		out << "<div id='timerDiv'></div>"
	   }
}
